package com.awLib.events
{
	import com.awLib.glossary.GlossaryTerm;
	
	import flash.events.Event;
	
	public class GlossaryTextEvent extends Event
	{ 
		private var _term:GlossaryTerm; 
		public static const TERMLINK:String = "com.awLib.events.GlossaryTextEvent";
		public function GlossaryTextEvent( term:GlossaryTerm, bubbles:Boolean=false, cancelable:Boolean=false)
		{ 			
			super("com.awLib.events.GlossaryTextEvent",bubbles,cancelable);
			this.term = term;
		}   
		
		public function set term(def:GlossaryTerm):void{
			_term=def;
		} 
		public function get term():GlossaryTerm{
			return _term;
		} 
	}
} 